<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta name="generator" content="HTML Tidy for Windows (vers 22 March 2008), see www.w3.org" />

  <title>Testatseite von Andreas Egli</title>
  <link rel="stylesheet" type="text/css" href="Stylesheets/aufbau3.css" title="aufbau3" />
  <link rel="stylesheet" href="Stylesheets/aufbau3_marge.css" type="text/css" title="aufbau3_margin" />
  <link rel="stylesheet" type="text/css" href="Stylesheets/aufbau2.css" title="aufbau2" />
  <link rel="stylesheet" href="Stylesheets/aufbau2_marge.css" type="text/css" title="aufbau2_margin" />
  <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss.xml" />
  <link rel="icon" href="favicon.ico" type="image/x-icon" />
  <meta name="author" content="Andreas Egli" />
  <script type="text/javascript" src="switch.js">
</script>
</head>

<body id="back">
  <br />
  <h1 align="center">...:::::TESTAT-SEITE:::::...</h1>
  <div id="box">
    
  

    <div id="navigation">
      <br />

      <ul id="navilist">
        <li><a href="main.html">Home</a></li>

        <li><a href="calc.html">Rechner</a></li>

        <li><a href="php.html">Links</a></li>

        <li><a href="login.html">Login</a></li>
      </ul>
    </div>

    <div id="inhalt">
      <br />
      <h1 align="center">Rechner</h1><br />
      <h2 align="center">mit JavaScript</h2>
		<form>Gib zwei Zahlen ein<br>

		<INPUT TYPE=text NAME="input1" SIZE=3 MAXLENGTH=3>
		<INPUT TYPE=text NAME="input2" SIZE=3 MAXLENGTH=3><br>
		<br>
		<INPUT TYPE=button NAME="Addition" VALUE="+" width=20 onClick="Resultat.value=(eval(input1.value) + eval(input2.value));">

		<INPUT TYPE=button NAME="Subtraction" VALUE="-" width=20 onClick="Resultat.value=(input1.value - input2.value)">

		<INPUT TYPE=button NAME="Multiplication" VALUE="*" width=20 onClick="Resultat.value=(input1.value * input2.value)">

		<INPUT TYPE=button NAME="Division" VALUE="/" width=20 onClick="Resultat.value=(input1.value / input2.value)">
		<!-- setzt die Felder auf den Anfangszustand -->
		<INPUT TYPE=reset NAME="clear" VALUE="c" width=20>
		
		<br>
		<br>

		Resultat:
		<br>
		
		<INPUT TYPE=text NAME="Resultat" >

		</form>
    </div>

    <div id="news">
      <br />
      <br />

      <h2>News:</h2><script language="javascript" type="text/javascript">
//<![CDATA[
        var ci_quelle ="Sport";
        var ci_width ="160";
        var ci_color ="#000000";
        var     ci_bgcolor ="#FFFFFF";
        var ci_borderwidth ="1";
        var ci_bordercolor ="#000000";
        var ci_fontsize ="11";
        var ci_anzahl ="3";
        var ci_picture ="0";
      //]]>
      </script> <script src="http://www.20min.ch/2010/share/JS/make_infobox.js" type="text/javascript">
</script>
    </div>
  </div>
</body>
</html>
